home *** CD-ROM | disk | FTP | other *** search
/ BBS Toolkit / BBS Toolkit.iso / programs / ubfile17.zip / FIXDATA.DOC next >
Text File  |  1991-07-20  |  1KB  |  19 lines

  1.    This is a little program to fix any errors caused by the Text file import
  2.    in UBFILE15.  If you have a problem with files that are in the database but
  3.    can not be found by the BBS then try running this program.  After you have
  4.    run it then pack the filebase to create new index files.
  5.  
  6.    Have fixdata.exe in the same directory as your filebase.dat file and just
  7.    type the filename.  There are no pretty pictures or any other indication
  8.    that the program is running other than your hard drive light flashing.
  9.  
  10.    Make sure you backup the filebase.dat file before running fixdata.
  11.    All the program does is read the data file, strip out any spaces in the
  12.    filename, and converts them to null charactors.  The problem arises because
  13.    "C" strings (arrays of CHAR) need a Null at the end of the string.  If there
  14.    is a space between the end of the filename and the null then the space is
  15.    included in the filename. I imported in hundreds of files and only found
  16.    about 20 that had this problem.  I have had a 2 reports of ex Remote Access
  17.    sysops who have imported their Files.BBS having this problem.  Version 1.6
  18.    of Ubfile should prevent this error from happening.
  19.